package model

import (
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Username string
	Password string
}

func GetUserInfo(id int) User {
	var user User
	db.First(&user, id)
	return user
}

func G